Image processing apparatus and image processing method quantizing first, second and third color data using first and second threshold matrices

ABSTRACT

An image processing apparatus sets a threshold value matrix for each of multiple color materials, and uses the set threshold value matrix to acquire a first threshold value. On the other hand, the image processing apparatus sets reference data on the basis of multivalued data of that color material. Then, the image processing apparatus calculates a second threshold value matrix by performing a predetermined process on the first threshold value on the basis of the reference data for that color material. Further, by comparing the second threshold value with the multivalued data, quantization data for printing a dot is generated. When doing this, the threshold value matrix and the reference data for that color material are set so as to make the graininess of a dot pattern of that color material lower than the graininess of a mixed color dot pattern obtained by mixing dot patterns of the respective multiple color materials.

This application is a division of application Ser. No. 15/717,797, filedSep. 27, 2017, which is a division of application Ser. No. 15/223,803,filed Jul. 29, 2016 (now U.S. Pat. No. 9,807,281, issued on Oct. 31,2017), which in turn claims the benefit of Japanese Application No.2015-156850, filed Aug. 7, 2015.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an image processing apparatus and imageprocessing method for performing a quantization process to form an imageon a print medium.

Description of the Related Art

When using a pseudo gradation method to print an image, it is necessaryto quantize multi-valued image data, and as a quantization method usedfor the quantization, an error diffusion method and a dither method areknown. In particular, the dither method that compares a preliminarilystored threshold value and a gradation value of multi-valued data witheach other to determine dot printing or non-printing has a smallprocessing load as compared with the error diffusion method, and istherefore widely used in many image processing apparatuses. In the caseof such a dither method, in particular, dot dispersibility in a lowgradation range becomes problematic; however, for example, U.S. Pat. No.5,111,310 proposes a method adapted to use a threshold value matrixhaving blue noise characteristics as a threshold value matrix forobtaining preferable dot dispersibility.

FIGS. 18A to 18C are diagrams for explaining a dither process using athreshold value matrix having blue noise characteristics. FIG. 18Aillustrates an example of image data to be inputted into a10-pixel×10-pixel area. This example shows a state where a gradationvalue of “36” is inputted to all the pixels. FIG. 18B illustrates athreshold value matrix prepared corresponding to the above10-pixel×10-pixel area. Each of the pixels is related to any ofthreshold values of 0 to 254. In the dither method, when a gradationvalue indicated by multivalued image data is larger than a thresholdvalue, a corresponding pixel is designated as dot printing “1”. On theother hand, when a gradation value indicated by multivalued image datais equal to or less than a threshold value, a corresponding pixel isdesignated as dot non-printing “0”. FIG. 18C illustrates a quantizationresult based on the dither method. Pixels representing printing “1” areindicated in gray, and pixels representing non-printing “0” areindicated in white. The distribution of printing “1” pixels as seen inFIG. 18C depends on threshold value arrangement in a threshold valuematrix. By using the threshold value matrix having blue noisecharacteristics as in FIG. 18B, even in the case where the same piecesof multivalued data are inputted into the predetermined area as in FIG.18A, the printing “1” pixels are arranged in a high dispersibility stateas in FIG. 18C.

FIGS. 19A and 19B are diagrams illustrating blue noise characteristicsand human visual characteristics or a human transfer function (VTF) at avisibility distance of 300 mm. In both of the diagrams, the horizontalaxis represents a frequency (cycles/mm), indicating lower and higherfrequencies toward the left and right of the graph, respectively. On theother hand, the vertical axis represents intensity (power) correspondingto each frequency.

Referring to FIG. 19A, the blue noise characteristics are characterizedby, for example, a suppressed low frequency component, a rapid rise, anda flat high frequency component. A frequency fg corresponding to a peakresulting from the rapid rise is referred to as a principal frequency.On the other hand, for the human visual characteristics (VTF)illustrated in FIG. 19B, as an example, the following Dooley approximateexpression is used. In the expression, l represents an observationdistance and f represents a frequency.VTF=5.05×exp(−0.138×πlf/180)×(1−exp(0.1×πlf/180))  Expression 1

As can be seen from FIG. 19B, the human visual characteristics have highsensitivity in a lower frequency range, but sensitivity in a higherfrequency range is low. That is, a lower frequency component isconspicuous, whereas a higher frequency component is inconspicuous. Theblue noise characteristics are based on such visual characteristics, andadapted to, in the visual characteristics, hardly have power in thehighly sensitive (conspicuous) lower frequency range, but have power inthe low sensitive (inconspicuous) higher frequency range. For thisreason, when a person visually observes an image subjected to aquantization process using a threshold value matrix having blue noisecharacteristics, dot deviation or periodicity is unlikely to beperceived, and the image is recognized as a comfortable image.

On the other hand, U.S. Pat. No. 6,867,884 discloses a dither method forsolving a situation where even though preferable dispersibility can beobtained on a color material basis (i.e., on a color basis), whenprinting an image using multiple color materials (i.e., mixed color),dispersibility is deteriorated to make graininess conspicuous.Specifically, U.S. Pat. No. 6,867,884 discloses a method that preparesone common dither matrix having preferable dispersibility as in FIG.18B, and performs a quantization process while shifting mutual thresholdvalues among multiple colors. The quantization method disclosed in U.S.Pat. No. 6,867,884 is herein referred to a color correlating process.The color correlating process makes it possible to achieve preferableimage quality even in a mixed color image because dots having differentcolors are mutually exclusively printed in a highly dispersive state ina low gradation range.

However, the above-described color correlating process can makegraininess inconspicuous in a dot pattern in which ink dots of multiplecolors are mixed, but may make the dispersibility of dots of a specificink rather conspicuous. U.S. Pat. No. 6,867,884 gives priority toenhancing the dispersibility of a black ink having the strongest dotpower among multiple color inks, and sets black for a channel for whicha threshold value is set without offsetting among multiple channelsusing the common threshold value matrix. However, for example, whenexpressing a full color image using cyan, magenta, and yellow withoutusing black, if a channel for the lowest threshold value range is setfor one of cyan and magenta having equivalent dot power, the graininessof the other one may become conspicuous. A specific description will begiven below.

FIG. 20 is a diagram illustrating a dot print state obtained whenperforming the color correlating process with inks of three colorsassigned to first to third channels. While using the same thresholdvalue matrix having blue noise characteristics, a threshold value is setfor data of the first color assigned to the first channel withoutoffsetting, and a threshold value offset on the basis of the data of thefirst color is set for data of the second color. Further, for data ofthe third color, a threshold value offset on the basis of the pieces ofdata of the first and second colors is set. For this reason, in a dotpattern 1910 of the first color, and in the sum 1940 of dot patterns ofthe first to third colors, dots are preferably dispersed and graininessis also suppressed. On the other hand, in each of the dot pattern 1920of the second color and the dot pattern 1930 of the third color, bothdispersibility and graininess are deteriorated.

FIGS. 21A to 21C are diagrams quantitatively illustrating thegraininesses of the dot patterns illustrated in FIG. 20. In FIG. 21A,the horizontal axis represents a spatial frequency, and the verticalaxis represents average intensity (power) corresponding to the spatialfrequency. It turns out that each of the dot patterns of the first colorand the mixed color has sufficiently suppressed power in a lowerfrequency range and also has a power peak positioned near a principalfrequency fg. That is, each of the dot patterns of the first color andthe mixed color has blue noise characteristics. On the other hand, eachof the dot patterns of the second and third colors has a certain levelof power in the lower frequency range, does not have a steep peak, andhas power already reduced near the principal frequency fg. That is, eachof the dot patterns of the second and third colors does not have bluenoise characteristics.

FIG. 21B is a diagram illustrating, as response values, results ofmultiplying the frequency characteristics illustrated in FIG. 21A by thehuman visual characteristics (VTF) illustrated in FIG. 18B. Also, FIG.21C illustrates integrated values of the response values in FIG. 21B. Alarger response value or a larger response integrated value means thatthe graininess of a dot pattern is more easily visually perceived. Inthis example, the response or integrated values of the second and thirdcolor dot patterns are larger than those of the first and mixed colordot patterns, and therefore the graininesses of the second and thirdcolor dot patterns are easily perceived. That is, even when employingthe method disclosed in U.S. Pat. No. 6,867,884 to suppress graininessin a mixed color image, the graininess of a dot pattern of a specificink color may be conspicuous in the mixed color image to deteriorateimage quality.

SUMMARY OF THE INVENTION

The present invention is made in order to solve the above-describedproblem. Accordingly, an object of the present invention is to providean image processing apparatus and image processing method that whenprinting a color image using multiple color materials in accordance witha pseudo gradation method, can keep graininess lower than before overthe whole of the image.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments (with reference to theattached drawings).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating the control configuration of aninkjet printing system;

FIG. 2 is a schematic perspective view of a printing apparatus usable inthe present invention;

FIG. 3 is a block diagram for explaining the control configuration ofthe printing apparatus;

FIG. 4 is a block diagram illustrating the configuration of an ASIC3001;

FIG. 5 is a flowchart for explaining an image data process;

FIG. 6 is a block diagram for explaining the details of a quantizationprocess;

FIGS. 7A and 7B are block diagrams and a flowchart for explaining aprocess in a color correlating process unit;

FIG. 8 is a diagram illustrating threshold value ranges determined asprinting (1) by a typical color correlating process;

FIGS. 9A and 9B are diagrams quantitatively illustrating thegraininesses of respective dot patterns;

FIG. 10 is a diagram illustrating threshold value ranges determined asprinting (1) in a first embodiment;

FIGS. 11A and 11B are diagrams quantitatively illustrating thegraininesses of respective dot patterns;

FIGS. 12A and 12B are diagrams illustrating a comparison of graininessbetween the present embodiment and a conventional method;

FIG. 13 is a diagram illustrating threshold value ranges determined asprinting (1) in a second embodiment;

FIG. 14 is a diagram illustrating a gray line conversion state by acolor correlating process in a third embodiment;

FIG. 15 is a diagram illustrating threshold value ranges determined asprinting (1) in the third embodiment;

FIG. 16 is a diagram illustrating a gray line conversion state by acolor correlating process in a fourth embodiment;

FIG. 17 is a diagram illustrating threshold value ranges determined asprinting (1) in the fourth embodiment;

FIGS. 18A to 18C are diagrams for explaining a dither process;

FIGS. 19A and 19B are diagrams illustrating blue noise characteristicsand visual characteristics;

FIG. 20 is a diagram illustrating a dot print state obtained whenperforming a color correlating process using three colors;

FIGS. 21A to 21C are diagrams quantitatively illustrating thegraininesses of dot patterns; and

FIG. 22 is a diagram illustrating an example of first and secondthreshold value matrices.

DESCRIPTION OF THE EMBODIMENTS

(First Embodiment)

FIG. 1 is a block diagram illustrating the control configuration of aninkjet printing system applicable to the present invention. The inkjetprinting system in the present embodiment is configured to include animage supply device 3, an image processing apparatus 2, and an inkjetprinting apparatus 1 (hereinafter also simply referred to as a printingapparatus). Image data supplied from the image supply device 3 issubjected to a predetermined image process in the image processingapparatus 2, then sent to the printing apparatus 1, and printed usinginks as color materials.

In the printing apparatus 1, a printing apparatus main control unit 101is one for controlling the whole of the printing apparatus 1, andconfigured to include a CPU, ROM, RAM, and the like. A print buffer 102can store image data before a transfer to a print head 103 as rasterdata. The print head 103 is an inkjet type print head having multipleprinting elements capable of ejecting inks as droplets, and inaccordance with image data stored in the print buffer 102, ejects inksfrom respective printing elements. In the present embodiment, it isassumed that printing element arrays corresponding to three colors ofcyan, magenta, and yellow are arrayed on the print head 103.

A sheet feeding/discharging motor control unit 104 controls conveyanceof print media and sheet feeding/discharging. A printing apparatusinterface (I/F) 105 transceives a data signal with the image processingapparatus 2. An I/F signal line 114 connects the both. As the I/F signalline 114, one specified by, for example, Centronics Data ComputerCorporation can be applied. A data buffer 106 temporarily stores imagedata received from the image processing apparatus 2. A system bus 107connects the respective functions of the printing apparatus 1.

On the other hand, in the image processing apparatus 2, an imageprocessing apparatus main control unit 108 is one for performing variousprocesses on an image supplied from the image supply device 3, andthereby generating image data printable by the printing apparatus 1, andincludes a CPU, ROM, RAM, and the like. The below-describedcharacteristics configuration of the present invention illustrated inFIGS. 6 and 7A is also provided in the image processing apparatus maincontrol unit 108, and flowcharts to be described with FIGS. 5 and 7B areperformed by the CPU of the image processing apparatus main control unit108. An image processing apparatus interface (I/F) 109 transceives adata signal with the printing apparatus 1. An externally connectinginterface (I/F) 113 transceives image data and the like with the imagesupply device 3 externally connected. A display unit 110 displaysvarious pieces of information to a user, and can be applied with adisplay such as an LCD. An operation unit 111 is a mechanism for a userto perform a command operation, and can be applied with, for example, akeyboard and a mouse. A system bus 112 connects the image processingapparatus main control unit 108 and the respective functions to eachother.

Note that the printing apparatus 1 can also directly receive and printimage data stored in a storage medium such as a memory card and imagedata from a digital camera in addition to image data supplied from theimage processing apparatus 2.

FIG. 2 is a schematic perspective view of the printing apparatus 1 usedin the present embodiment. The printing apparatus 1 includes a functionas a typical PC printer, which receives data from the image processingapparatus 2 to print the data, and a function that prints image datastored in a storage medium such as a memory card and image data receivedfrom a digital camera.

A main body as the outer shell of the printing apparatus 1 has exteriormembers including a lower case 1001, upper case 1002, access cover 1003,paper feed tray 1007, and paper discharge tray 1004. The lower and uppercases 1001 and 1002 respectively form substantially the upper and lowerhalves of the main body of the apparatus 1, and by combining the bothcases, a containing space that contains respective mechanisms inside isformed.

The paper feed tray 1007 is capable of stacking and holding multipleprint media, and adapted to automatically feed the uppermost one mediuminto the apparatus when a feed print command is inputted. On the otherhand, the paper discharge tray 1004 is adapted such that one end partthereof is rotationally movably held by the lower case 1001, and anopening part formed in the front part of the lower case 1001 can beopened/closed by the rotational movement. When performing a printingaction, by rotationally moving the paper discharge tray 1004 toward thefront side to open the opening part, printed sheets can be dischargedthrough the opening part, and also the discharged printed sheets can besequentially stacked. The paper discharge tray 1004 contains twoauxiliary trays 1004 a and 1004 b, and by pulling out the respectivetrays as necessary, a print medium supporting area can be enlarged inthree steps.

In the space inside the apparatus, the print head 103 for printing animage on a print medium, a carriage capable of mounting the print head103 and ink tanks and moving in an X direction in the diagram, aconveyance mechanism adapted to convey a print medium in a Y directionby a predetermined amount per scan, and the like are disposed.

When a print command is inputted, a print medium conveyed from the paperfeed tray 1007 into the apparatus is conveyed to an area where printingby the print head 103 is possible. Then, when one print scan by theprint head 103 is finished, the conveyance mechanism conveys the printmedium in the Y direction by a distance corresponding to a print widthD. By repeating a print scan by the print head 103 and a print mediumconveyance action as described, an image is formed on a print mediumstepwise. The print medium on which printing has been completed isdischarged to the paper discharge tray 1004.

The access cover 1003 is adapted such that one end part thereof isrotationally movably held by the upper case 1002, and an open partformed in the upper surface can be opened/closed. By opening the accesscover 1003, the print head 103, an ink tank, and/or the like containedinside the main body can be replaced. Note that although not illustratedhere, on the back surface of the access cover 1003, a protrusion forbeing detected by a micro switch provided on the main body side when theaccess cover 1003 is closed is disposed. That is, depending on a resultof detecting the protrusion by the micro switch, an open/close state ofthe access cover 1003 can be detected.

On the upper surface of the upper case 1002, a power key 1005 isdepressibly provided. Also, on the upper surface of the upper case 1002,an operation panel 1010 including the liquid crystal display unit 110,various key switches, and the like is provided.

A distance-to-paper selection lever 1008 is a lever for adjusting theinterval between an ink ejection surface of the print head 103 and thesurface of a print medium. A card slot 1009 is an opening part forreceiving an adaptor attachable with a memory card. Image data stored ina memory card is sent to a control unit 3000 of the printing apparatusthrough an adaptor inserted into the card slot 1009, and after beingsubjected to a predetermined process, printed on a print medium. As thememory card (PC), a memory such as a compact flash memory, smart medium,or memory stick can be cited. A viewer 1011 (liquid crystal displayunit) 1011 displays an image such as a one-frame based image or an indeximage when, for example, searching for an image desired to be printedfrom among images stored in the memory card. In the present embodiment,the viewer 1011 is adapted to be detachably attached to the printingapparatus 1 main body. A terminal 1012 is one for connecting a digitalcamera, and a terminal 1013 is a USB bus connector for connecting apersonal computer (PC).

FIG. 3 is a block diagram for explaining the control configuration ofthe printing apparatus 1. In the control unit 3000 (control board), aDSP 3002 (digital signal processor) has a CPU inside, and performsvarious image processes and control of the whole of the printingapparatus. A memory 3003 has, in addition to a program memory 3003 aadapted to store a program to be executed by the CPU of the DSP 3002, aRAM area adapted to store a program in execution and a memory areafunctioning as a work memory adapted to store image data and the like.In a printer engine 3004, a printer engine for printing a color imageusing color inks of multiple colors is equipped.

A USB bus connector 3005 is a port for connecting a digital camera 3012.A connector 3006 connects the viewer 1011. A USB bus hub 3008 (USB HUB)is a line concentrator for a USB transfer to the printer engine 3004.Upon receipt of image data having been subjected to the predeterminedimage process by the image processing apparatus 2 (PC) externallyconnected, the USB bus hub 3008 directly transmits the image data to theprinter engine. In doing so, the PC 2 connected to the USB bus hub 3008can directly transceive data or a signal with the printer engine 3004(i.e., functions as a general PC printer).

A power connector 3009 is adapted to input DC voltage converted fromcommercial AC by a power supply 3013 into the apparatus. Note that asignal between the control unit 3000 and the printer engine 3004 istransceived through a USB bus 3021 or an IEEE 1284 bus 3022.

FIG. 4 is a block diagram illustrating the configuration of an ASIC3001. A PC card interface unit 4001 is adapted to read image data storedin an attached PC card 3011 or write data into the PC card 3011. TheIEEE 1284 interface unit 4002 is adapted to transceive data with theprinter engine 3004. The IEEE 1284 interface unit 4002 is a bus that isused when recording image data stored in the digital camera 3012 or inthe PC card 3011. A USB interface unit 4003 is adapted to transceivedata with the PC 2. A USB host interface unit 4004 is adapted totransceive data with the digital camera 3012. An operation panelinterface unit 4005 is adapted to input various operation signals fromthe operation panel 1010 or output display data to a display unit 110. Aviewer interface unit 4006 is adapted to control displaying image dataon the viewer 1011. An interface 4007 is an interface unit adapted tocontrol various switches and LEDs and the like 4009. A CPU interfaceunit 4008 is adapted to control data transception with the DSP 3002.These respective units are connected through an internal bus (ASIC bus)4010. A control program for them is configured in a multitasking formadapted to assign tasks on a function module basis.

FIG. 5 is a flowchart for explaining an image data process performed bythe image processing apparatus main control unit 108 in the presentembodiment. This process is performed by the CPU of the image processingapparatus main control unit 108 in accordance with a program stored inthe ROM. In FIG. 5, when image data on a target pixel is inputted fromthe image supply device 3 (Step S200), the image processing apparatusmain control unit 108 first makes a color correction in Step S201. Theimage data received by the image processing apparatus 2 from the imagesupply device 3 includes pieces of R (red), G (green), and B (blue)8-bit luminance data for expressing standardized color space such assRGB. In Step S201, these pieces of luminance data are converted topieces of RGB 12-bit luminance data corresponding to color spacespecific to the printing apparatus. As a method for converting a signalvalue, a publicly known method such as a method that refers to a lookuptable (LUT) preliminarily stored in the ROM or the like can be employed.

In Step S202, the image processing apparatus main control unit 108decomposes the converted pieces of RGB data to pieces of 16-bitgradation data (density data) respectively for C (cyan), M (magenta),and Y (yellow) that are the ink colors of the printing apparatus. Inthis step, a 16-bit gray image is generated for each of three channels(three colors). In the ink color decomposition process as well, a lookuptable (LUT) preliminarily stored in the ROM or the like can be referredto as in the color correction process.

In Step S203, the image processing apparatus main control unit 108performs a predetermined quantization process on the pieces of 16-bitgradation data respectively corresponding to the ink colors to convertto pieces of several bit quantized data. For example, in the case ofquantization into ternary data, the image processing apparatus maincontrol unit 108 converts the pieces of 16-bit gradation data to piecesof 2-bit data corresponding to any of Level 0 to Level 2. Thequantization process will be described later in detail.

In subsequent Step S204, the image processing apparatus main controlunit 108 performs an index expansion process. Specifically, from amongmultiple dot arrangement patterns where the number of dots to be printedin each pixel and a corresponding position are determined, one dotarrangement pattern is selected related to the level obtained in StepS203. When doing this, the dot arrangement pattern may be in a formwhere the number of dots to be printed in an area corresponding to eachpixel is changed depending on the level value or the size of a dot ischanged depending on the level value.

Upon completion of such an index expansion process, resultant pieces ofdot data are outputted as pieces of binary data (Step S205). Thiscompletes the image data process.

Note that the respective processing steps in Steps S200 to S205 of FIG.5 are performed by the inkjet printing system in the present embodiment;however, between one group of steps from Step S200 to a certain step tobe performed by the image processing apparatus 2 and the other group ofsteps from the certain step to Step S205 to be performed by the printingapparatus 1, a clear line is not particularly determined. For example,when the image processing apparatus 2 performs the steps up to thequantization, it is only necessary that the image processing apparatus 2transfers the pieces of quantized data to the printing apparatus 1, andthe printing apparatus main control unit 101 performs the indexexpansion in Step S204 using an index pattern stored in a memory andcontrols the printing action. Also, depending on the performance of theprinting apparatus 1, the printing apparatus 1 can also directly receivethe pieces of RGB multivalued image data to perform all the processingsteps in Step S201 to S204.

FIG. 6 is a block diagram for explaining the details of the quantizationprocess performed in Step S203 of FIG. 5. In the quantization process inthe present embodiment, an input value is first processed, then athreshold value is processed, and finally the quantization process basedon a dither method is performed. These series of processes are parallelperformed on a color basis (on a channel basis). In the following, eachof the processes will be described in detail with reference to FIG. 6.

An image data acquisition unit 301 acquires pieces of 16-bit gradationdata indicating the density of each pixel. It is assumed that the imagedata acquisition unit 301 in the present embodiment can receive signalshaving at most 16 bits for eight colors. The diagram illustrates a statewhere the pieces of 16-bit data respectively corresponding to first tothird colors are inputted.

A noise addition process unit 302 adds predetermined noise to the piecesof 16-bit gradation data. By adding the noise, even when pieces ofgradation data of the same level are continuously inputted, a statewhere the same patterns are continuously arranged can be avoided toreduce a stripe, texture, and the like. The noise addition process unit302 multiplies a predetermined random table, fixed intensity, andvariable intensity corresponding to an input value, and thereby noise isgenerated for each pixel and added to the input value. Note that therandom table is a table adapted to set the polarity of noise, and sets aplus, zero, or a minus for each pixel position. The random table in thepresent embodiment can have at most eight faces, and the size of eachtable can be arbitrarily set. The fixed intensity indicates theintensity of a noise amount, and the magnitude of the intensitydetermines the magnitude of the noise. In the present embodiment, bysetting a random table or fixed intensity optimum for each print modedepending on the degrees of the graininess, stripe and texture of animage, and the like, a noise amount can be appropriately adjusted.

A normalization process unit 303 relates a gradation value of each pixelrepresented by 16 bits to a level value enabling the index expansion inStep S204, and then normalizes each level range to 12 bits. In thefollowing, a specific description will be given. When the indexexpansion process in Step S204 is a process corresponding to n valuesfrom Level 0 to Level (n−1), the normalization process unit 303 equallydivides 65535 gradations represented by 16 bits into (n−1). Further, arange corresponding to each level is normalized to 12 bits (4096gradations). This makes it possible to, for each pixel, obtain pieces of12-bit data related to any of Level 0 to Level (n−1).

For example, in the case where the index expansion process correspondsto three values of Level 0, Level 1, and Level 2, the normalizationprocess unit 303 equally divides the 65535 gradations represented by 16bits into two. Then, the normalization process unit 303 normalizesrespective ranges corresponding to gradation values of 0 to 32767 andgradation values of 32768 to 65535 to 12 bits (0 to 4095 gradations).For a pixel corresponding to any of the input gradation values of 0 to32767 as the first range, Level 0 or Level 1 is outputted by thesubsequent quantization process, whereas for a pixel corresponding toany of the input gradation values of 32768 to 65535 as the second range,Level 1 or Level 2 is outputted by the subsequent quantization process.In accordance with the above-described control, even when a quantizationnumber (n) is any number, the subsequent quantization process can beperformed in the same manner.

The processes in the image data acquisition unit 301 to thenormalization process unit 303 described above are parallel performed onthe pieces of gradation data of the respective colors. That is, in thepresent embodiment, the pieces of 12-bit data corresponding to cyan,magenta, and yellow are generated, and inputted to a dither process unit311.

In the dither process unit 311, 12-bit data to be quantized (processingtarget data) is directly transmitted to a quantization process unit 306.On the other hand, pieces of 12-bit data of colors other than theprocessing target data are inputted to a color correlating process unit304 as pieces of reference data. The color correlating process unit 304performs a predetermined process on a threshold value acquired by athreshold value acquisition unit 305 on the basis of the pieces ofreference data to determine a final threshold value, and transmits thefinal threshold value to the quantization process unit 306. Thequantization process unit 306 compares the processing target data withthe threshold value inputted from the color correlating process unit304, and thereby determines printing (1) or non-printing (0).

The threshold value acquisition unit 305 selects one correspondingthreshold value matrix from among multiple dither patterns 310 stored ina memory such as the ROM, and acquires a threshold value correspondingto a pixel position associated with the processing target data. In thepresent embodiment, the dither patterns 310 are threshold value matricesformed by arraying threshold values of 0 to 4095 so as to have bluenoise characteristics, and can provide various sizes and shapes such as512×512 pixels, 256×256 pixels, and 512×256 pixels. That is, the memorypreliminarily stores the multiple threshold value matrices havingdifferent sizes and shapes as described, and the threshold valueacquisition unit 305 selects a threshold value matrix corresponding to aprint mode and an ink color from among the multiple threshold valuematrices. Then, the threshold value acquisition unit 305 provides athreshold value corresponding to the pixel position (x, y) associatedwith the processing target data to the color correlating process unit304 from among multiple threshold values arrayed in the selectedthreshold value matrix.

The present invention is characterized by a color correlating processingmethod in the color correlating process unit 304. Before describing thecharacteristic color correlating processing method, a typical colorcorrelating process as disclosed in U.S. Pat. No. 6,867,884 will befirst described here.

FIGS. 7A and 7B are block diagrams and flowcharts for explaining aprocessing configuration and processing steps in the color correlatingprocess unit 304. The color correlating process unit 304 sets the piecesof 12-bit data corresponding to the colors other than the processingtarget data as the pieces of reference data, uses these pieces ofreference data to perform the predetermined process on the thresholdvalue acquired by the threshold value acquisition unit 305, andcalculates the threshold value for quantizing the processing targetdata. For example, when the processing target data is 12-bit data ofcyan, the pieces of reference data are pieces of 12-bit data of magentaand yellow. In FIG. 7A, the processing target data is denoted by In1(x,y), and the pieces of reference data are denoted by In2(x, y) and In3(x,y). Here, (x, y) represents the pixel position, which serves as acoordinate parameter for the threshold value acquisition unit 305 toselect the threshold value corresponding to the pixel positionassociated with the processing target data from the threshold valuematrix.

Referring to FIG. 7A, the pieces of reference data In2(x, y) and In3(x,y) inputted to the color correlating process unit 304 are first inputtedto a threshold value offset amount calculation unit 308 (Step S401). Indoing so, the threshold value offset amount calculation unit 308 usesthese pieces of reference data to calculate a threshold value offsetOfs_1(x, y) for the processing target data In1(x, y) (Step S402). In thepresent embodiment, the threshold value offset value Ofs_1(x, y) iscalculated using Expression 2.Ofs_1(x,y)=Σi[Ini(x,y)]  Expression 2

Here, i represents a parameter for individually indicating, between thepieces of reference data In2(x, y) and In3(x, y), one or more pieces ofreference data (hereinafter referred to as pieces of actual referencedata) used to obtain the threshold value for the processing target dataIn1. The number and type of such pieces of actual reference data arepredesignated for each processing target data.

In the present embodiment, it is assumed that in the case where theprocessing target data is In1(x, y), a null is the actual referencedata, and in the case where the processing target data is In2(x, y),In1(x, y) is the actual reference data. It is also assumed that in thecase where the processing target data is In3(x, y), In1(x, y) and In2(x,y) are the pieces of actual reference data. Accordingly, offsetsOfs_1(x, y) to Ofs_3(x, y) for the respective pieces of processingtarget data In1(x, y) to In3(x, y) can be expressed as follows inaccordance with Expression 2.

$\begin{matrix}\begin{matrix}{{{Ofs}_{—}1\left( {x,y} \right)} = {\Sigma\;{i\left\lbrack {{In}\left( {x,y} \right)} \right\rbrack}}} \\{= 0}\end{matrix} & {{Expression}\mspace{14mu} 2\text{-}1} \\\begin{matrix}{{{Ofs}_{—}2\left( {x,y} \right)} = {\Sigma\;{i\left\lbrack {{In}\left( {x,y} \right)} \right\rbrack}}} \\{= {{In}\; 1\left( {x,y} \right)}}\end{matrix} & {{Expression}\mspace{14mu} 2\text{-}2} \\\begin{matrix}{{{Ofs}_{—}3\left( {x,y} \right)} = {\Sigma\;{i\left\lbrack {{In}\left( {x,y} \right)} \right\rbrack}}} \\{= {{{In}\; 1\left( {x,y} \right)} + {{In}\; 2\left( {x,y} \right)}}}\end{matrix} & {{Expression}\mspace{14mu} 2\text{-}3}\end{matrix}$

As described, when the threshold value offset values Ofs_1(x, y) toOfs_3(x, y) are calculated, these values are inputted to a thresholdvalue offset amount addition unit 309. The threshold value offset amountaddition unit 309 acquires a threshold value Dth corresponding to thecoordinates (x, y) of processing target data In(x, y) from the thresholdvalue acquisition unit 305 (Step S403).

In Step S404, the threshold value offset amount addition unit 309subtracts the threshold value offset value Ofs_1(x, y) inputted from thethreshold value offset amount calculation unit 308 from the thresholdvalue Dth (x, y) inputted from the threshold value acquisition unit 305to obtain a quantization threshold value Dth′ (x, y).Dth′(x,y)=Dth(x,y)−Ofs_1(x,y)  Expression 3

When doing this, in the case where Dth′ (x, y) takes a minus value,Dth_max (the maximum value among threshold values in the dither pattern)is added, and a resultant value is treated as the quantization thresholdvalue Dth′ (x, y). In doing so, the quantization threshold value Dth′ isconstantly Dth′=0 to Dth_max.

That is, in the case where Dth′ (x, y)<0, the following expressionholds:Dth′(x,y)=Dth′(x,y)+Dth_max  Expression 4

When the quantization threshold value Dth′ (x, y) is obtained inaccordance with Expression 3 or 4, the quantization process unit 306compares the processing target data In1(x, y) and the quantizationthreshold value Dth′ (x, y) to determine dot printing (1) ornon-printing for the pixel position (x, y). This completes theprocessing steps.

After that, as described with the flowchart in FIG. 5, quantized dataOut1 (x, y) represented by several bits is subjected to the indexexpansion process, and a dot pattern to be printed at the pixel position(x, y) is determined. When doing this, the number of dots (or the sizeof a dot) to be printed at the pixel position (x, y) is set to be anumber corresponding to a level value, such as one dot (or a small dot)when the level value is 1, or two dots (or a large dot) when the levelvalue is 2.

FIG. 8 is a diagram illustrating threshold value ranges determined asprinting (1) among the multiple threshold values 0 to Dth_max arrangedin the threshold value matrix when the first to third pieces ofmulti-valued data (In1 to In3) are respectively inputted for the firstto third colors. The horizontal axis represents a threshold value Dth0to 4094, and “1710” represents Dth_max (the maximum value among thethreshold values in the dither pattern). Each thick line indicates athreshold value range where dots are arranged. In the presentembodiment, the offset for the first color is Ofs_1=0 from Expression2-1. Accordingly, pixel positions corresponding to threshold values of 0to In1(1702 to 1703) among 0 to Dth_max are set to printing (1).

The offset for the second color is Ofs_2=In1 from Expression 2-2.Accordingly, as a result of quantization using the threshold value Dth′obtained in accordance with Expressions 3 and 4, threshold values of In1to In1+In2 (1705 to 1706) among the threshold values 0 to Dth_maxarrayed in the dither pattern 310 are set to printing (1).

The offset for the third color is Ofs_3=In1+In2 from Expression 2-3.Accordingly, as a result of quantization using the threshold value Dth′obtained in accordance with Expressions 3 and 4, In1+In2 to In1+In2+In3(1708 to 1709) among the threshold values 0 to Dth_max arrayed in thethreshold value matrix are set to printing (1). Note that in thisexample, (In1+In2+In3) is assumed to exceed Dth_max. In this case, arange exceeding Dth_max is treated as follows. That is, a rangecorresponding to the remainder obtained by dividing (In1 +In2+In3) byDth_max, i.e., threshold values of 0 to In1+In2+In3−Dth_max are set toprinting (1). In other words, In1+In2 to Dth_max (1708 to 1710) and 0 toIn1+In2+In3 −Dth_max (1707 to 1711) are threshold value rangesdetermined as printing (1).

As described, in the typical color correlating process, despite usingthe common threshold value matrix, the quantization threshold valuesDth′ specific to the respective colors are obtained by setting themutual input values as the offset values. Further, by using the newlyobtained quantization threshold values Dth′ for the quantizationprocess, dots can be arranged such that a dot print pattern where themultiple colors are mixed has blue noise characteristics.

However, as has been already described, if a color having strong dotpower is present in a mixed color dot pattern of multiple colors, thegraininess of a dot pattern of that color is conspicuous and as aresult, image quality may be deteriorated. Note that dot powercorresponds to the conspicuousness of one dot, and depends on, forexample, the lightness of one dot printed on a print medium. Inaddition, a dot having lower lightness (higher density) has stronger dotpower, and even when forming a dot pattern having blue noisecharacteristics together with the other colors, if a dot pattern of thatcolor does not have blue noise characteristics, graininess isconspicuous.

FIGS. 9A and 9B are diagrams quantitatively illustrating thegraininesses of respective dot patterns formed when in theabove-described typical color correlating process, setting the firstcolor to cyan, the second color to magenta, and the third color toyellow. FIG. 9A illustrates the response values of the dot patterns ofthe respective colors and mixed color, and FIG. 9B illustrates theirintegrated values. Each of the response values corresponds to a resultof multiplying the frequency characteristics of a corresponding dotpattern by the human visual characteristics (VTF) and a correspondingdot power coefficient. For the human visual characteristics (VTF), theDooley approximate expression already given by Expression 1 is used.Also, a dot power coefficient has a value comparable to the intensity ofdot power, and increases as lightness is decreased. Here, as an example,dot power coefficients for the respective colors are set from thelightness of cyan L*=55, the lightness of magenta L*=55, and thelightness of yellow L*=85 in CIEL*a*b* color space.

The mixed color dot pattern and the dot pattern of cyan as the firstcolor have blue noise characteristics, and therefore the response valuesand their integrated values are relatively low values. Also, the dotpattern of yellow as the third color does not have blue noisecharacteristics; however, dot power is small as compared with those ofcyan and magenta, and therefore the response value and its integratedvalue are sufficiently low values. On the other hand, the dot pattern ofmagenta as the second color does not have blue noise characteristics buthas strong dot power, and therefore the response value and itsintegrated value are relatively high values.

As a result of intensive examination, in consideration of the abovepoints, the present inventors have determined that when the responsevalue of a dot pattern of a specific color exceeds the response value ofa mixed color dot pattern, graininess tends to be visually easilyperceived. In addition, the present inventors have gained the knowledgethat in order to suppress the graininess of the whole of an image, it iseffective to set a threshold value matrix and reference colors in thecolor correlating process so as to make the response value of a dotpattern of each ink color smaller than the response value of a mixedcolor dot pattern. In the following the color correlating processcharacteristic of the present embodiment will be described.

Referring to FIGS. 7A and 7B again, in the present embodiment, when theprocessing target data is the cyan data In1(x, y), the threshold valueacquisition unit 305 selects a first threshold value matrix having bluenoise characteristics. Also, the threshold value offset amountcalculation unit 308 sets the threshold value offset value, i.e., thereference data to null.Ofs_1(x,y)=0

When the processing target data is the magenta data In2(x, y), thethreshold value acquisition unit 305 selects a second threshold valuematrix that has blue nose characteristics but is different from thefirst threshold value matrix. The threshold value offset amountcalculation unit 308 sets the threshold value offset value, i.e., thereference data to null.Ofs_2(x,y)=0

When the processing target data is the yellow data In3(x, y), thethreshold value acquisition unit 305 selects the second threshold valuematrix as in the case of In2(x, y). The threshold value offset amountcalculation unit 308 sets the threshold value offset value, i.e., thereference data to In2(x, y).Ofs_3(x,y)=Ofs_2(x,y)

The threshold value offset amount addition unit 309 subtracts thethreshold value offset value Ofs_1(x, y) inputted by the threshold valueamount calculation unit 308 from the threshold value Dth (x, y) in thethreshold value matrix selected by the threshold value acquisition unit305 to obtain the quantization threshold value Dth′ (x, y). After that,the same process as the already described regular color correlatingprocess is performed.

FIG. 22 is an example of the first and second threshold value matricesemployable in the present embodiment. Any of the threshold valuematrices has blue noise characteristics, but a threshold valuedistribution is different from each other. These two matrices are notparticularly limited as long as having blue noise characteristics, andmay have or may not have correlation. Note that a blue dot formed bysuperposing a cyan dot and a magenta dot has stronger dot power than thecyan dot or the magenta dot, and therefore mutual threshold values arepreferably set so as to prevent the occurrence of such a blue dot asmuch as possible. In addition, the first threshold value matrix and thesecond threshold value matrix may be two matrices having a relationshipin which the same threshold value matrix is mutually shifted verticallyor horizontally.

FIG. 10 is a diagram illustrating threshold value ranges determined asprinting (1) in the threshold value matrices for the respective colors.In the present embodiment, in the case of cyan as the first color, thethreshold value offset value is Ofs_1=0. Accordingly, pixel positionscorresponding to 0 to In1(902 to 903) among the threshold values of 0 toDth_max in the first threshold value matrix are set to printing (1).

In the case of magenta as the second color as well, the threshold valueoffset value is Ofs_2=0. Accordingly, pixel positions corresponding tothreshold values of 0 to In2 (905 to 906) among 0 to Dth_max in thesecond threshold value matrix are set to printing (1).

In the case of yellow as the third color, the threshold value offsetvalue is Ofs_3=In2. Accordingly, In2 to In2+In3 (908 to 909) among thethreshold values of 0 to Dth_max in the second threshold value matrixare set to printing (1).

According to the present embodiment as described, the dot patterns ofcyan and magenta both having relatively strong dot power, and the mixedcolor dot pattern of magenta and yellow can have blue noisecharacteristics.

FIGS. 11A and 11B are diagrams quantitatively illustrating thegraininesses of the respective dot patterns in the present embodiment inthe same manner as in the case of the conventional typical colorcorrelating process illustrated in FIGS. 9A and 9B. FIG. 11A illustratesthe response values of the dot patterns of the ink colors and the mixedcolor dot pattern, and FIG. 11B illustrates their integrated values. Thedot pattern of cyan as the first color and the dot pattern of magenta asthe second color have blue noise characteristic, and the response valuesand their integrated values are relatively low values. Also, the dotpattern of yellow as the third color does not have blue noisecharacteristics; however, as compared with cyan or magenta, dot power isvery small, and therefore the response value and its integrated valueare sufficiently low values. On the other hand, the mixed color dotpattern of cyan, magenta, and yellow is configured to include thesuperposition of the two dot patterns each having the blue noisecharacteristics, and therefore as compared with the conventional colorcorrelating process, the response value and its integrated value areslightly high. However, as compared with the case where the colorcorrelating process is not employed at all, the response value and itsintegrated value, i.e., graininess can be kept sufficiently low.

FIGS. 12A and 12B are diagrams that compare the graininess of a mixedcolor dot pattern between when using a mutually uncorrelated thresholdvalue matrix for each of cyan, magenta, and yellow without employing anycolor correlating process and when employing the present embodiment. Itturns out that as compared with the case of the mixed color dot patternbased on the conventional method, in the case of the mixed color dotpattern in the present embodiment, a response value and its integratedvalue are both kept low.

That is, according to the present embodiment, while sufficientlysuppressing the graininess of the mixed color dot pattern of cyan,magenta, and yellow, the response value of a dot pattern of each of thecolors can be kept further lower than the response value of the mixedcolor dot pattern. As a result, a smooth image can be outputted with thegraininess of the whole of the image kept lower than before.

In addition, as long as the superposition of dots between differentcolors is suppressed, regardless of the frequency characteristics of amixed color dot pattern, graininess can be suppressed to some extent.For this reason, even if the second threshold value matrix common to twocolors does not necessarily have blue noise characteristics, thegraininess of the whole of an image can be kept lower than before. Also,in order to avoid the superposition of dots, it is not necessarilyrequired to perform the color correlating process between two colors,but it is only necessary to devise a threshold value setting method soas to set threshold value ranges that are as mutually exclusive aspossible. For example, when the two colors are set to magenta andyellow, by obtaining a threshold value for yellow using the followingexpression, the superposition of dots of magenta and yellow can beminimized.Threshold value for Y=Maximum threshold value in threshold valuematrix−Threshold value for M

Note that in the above, the response values for making the quantitativecomparison of graininess among the mixed color dot pattern and the dotpatterns of the respective colors are obtained from the frequencycharacteristics of the dot patterns, the human visual characteristics(VTF), and the dot power coefficients; however, the response values arenot limited to these values. For the visual characteristics, anexpression other than the Dooley approximate expression can also beemployed, and for a dot power coefficient, not lightness L* but, forexample, optical density of a dot printed on a print medium can also beemployed. In addition, by employing an evaluation value such as publiclyknown RMS graininess or a Wiener spectrum, the response values may beset.

In the following, the cases where ink colors used to express a colorimage are variously combined will be described as other embodiments.

(Second Embodiment)

As with the first embodiment, the present embodiment also uses an inksystem including cyan, magenta, and yellow. However, in this embodiment,for cyan and yellow, a first threshold value matrix is used to perform acolor correlating process, and for magenta, a second threshold valuematrix is used.

In the present embodiment as well, the block diagram and flowchartillustrated in FIGS. 7A and 7B can be used. In the present embodiment,when processing target data is cyan data In1(x, y), the threshold valueacquisition unit 306 selects the first threshold value matrix havingblue noise characteristics. The threshold value offset amountcalculation unit 308 sets a threshold value offset value to null.Ofs_1(x,y)=0

When the processing target data is magenta data In2(x, y), the thresholdvalue acquisition unit 306 selects the second threshold value matrixthat has blue noise characteristics but is different from the firstthreshold value matrix. The threshold value offset amount calculationunit 308 sets a threshold value offset value to null.Ofs_2(x,y)=0

When the processing target data is yellow data In3(x, y), the thresholdvalue acquisition unit 305 selects the first threshold value matrix asin the case of In1(x, y). The threshold value offset amount calculationunit 308 sets a threshold value offset value to In1(x, y).Ofs_3(X,y)=In1(x,y)

As the first threshold value matrix and the second threshold valuematrix, as in the first embodiment, for example, ones illustrated inFIG. 22 can be used.

FIG. 13 is a diagram illustrating threshold value ranges determined asprinting (1) in the threshold value matrices set for the respectivecolors in the present embodiment. In the present embodiment, thethreshold value offset value for cyan as the first color is Ofs_1=0.Accordingly, pixel positions corresponding to 0 to In1(1202 to 1203)among threshold values of 0 to Dth_max in the first threshold valuematrix are set to printing (1).

For magenta as the second color as well, the threshold value offsetvalue is Ofs_2=0. Accordingly, pixel positions corresponding to 0 to In2(1208 to 1209) among threshold values of 0 to Dth_max in the secondthreshold value matrix are set to printing (1).

The threshold value offset value for yellow as the third color isOfs_3=In1. Accordingly, pixel positions corresponding to In1 to In1+In 3among the threshold values of 0 to Dth_max in the first threshold valuematrix are set to printing (1).

According to the present embodiment as described, dot patterns of cyanand magenta both having relatively strong dot power, and a mixed colordot pattern of cyan and yellow can have blue noise characteristics.Also, as in the first embodiment, while sufficiently suppressing thegraininess of a mixed color dot pattern of cyan, magenta, and yellow,the response value of a dot pattern of each of the colors can be keptlower than the response value of the mixed color dot pattern. As aresult, the graininess of the whole of an image can be kept lower thanbefore.

(Third Embodiment)

The present embodiment uses an ink system including black in addition tocyan, magenta, and yellow. The black ink has lower lightness than theother inks, and here the lightness of the black ink is defined as L*=10.For this reason, the dot power of black is the largest among the fourinks. In such an ink system, the present embodiment performs a colorcorrelating process using a first threshold value matrix for black andcyan, and performs the color correlating process using a secondthreshold value matrix for magenta and yellow.

In the present embodiment, in Step S202 of FIG. 5, the image processingapparatus main control unit 108 decomposes pieces of RGB data to piecesof 16-bit gradation data (density data) respectively for C (cyan), M(magenta), Y (yellow), and K (black). Then, in Step S203, a quantizationprocess is performed for each of the four colors.

FIG. 14 illustrates a gray line conversion state in a lookup tablereferred to by the image processing apparatus main control unit 108 inthe color conversion step of Step S202. The horizontal axis representsrespective lattice points of gradation from white toward black, and thevertical axis represents an output signal value corresponding to eachcolor, which is here expressed in 256 gradations. An output signal valueof each color corresponds to input data In0 to In3 to be inputted to thequantization process unit.

As can be seen from FIG. 14, in a highlight to intermediate densityrange from white to gray, without using the black ink, a gray image isexpressed using only cyan, magenta, and yellow. Black is used in anintermediate to high density range. In the high density range where theblack ink is used, since many dots of the other colors have already beenprinted, the print density of ink dots is sufficiently high, and thegraininess of black dots is hardly regarded as a problem. In the presentembodiment, in consideration of such a situation, a combination of athreshold value matrix used for each of the inks and a reference coloris set as follows.

First, when processing target data is black data In0(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix having blue noise characteristics. The threshold value offsetamount calculation unit 308 sets a threshold value offset value to null.Ofs_0(x,y)=0

When the processing target data is cyan data In1(x, y), the thresholdvalue acquisition unit 305 selects the first threshold value matrix asin the case of In0(x, y). The threshold value offset amount calculationunit 308 sets a threshold value offset value to In0(x, y).Ofs_1(x,y)=In0(x,y)

When the processing target data is magenta data In2(x, y), the thresholdvalue acquisition unit 305 selects the second threshold value matrixthat has blue noise characteristics but is different from the firstthreshold value matrix. The threshold value offset amount calculationunit 308 sets a threshold value offset value to null.Ofs_2(x,y)=0

When the processing target data is yellow data In3(x, y), the thresholdvalue acquisition unit 305 selects the second threshold value matrix asin the case of In2(x, y). The threshold value offset amount calculationunit 308 sets a threshold value offset value to In2(x, y)Ofs_3(X,y)=In2(x,y)

Note that in the present embodiment as well, as the first thresholdvalue matrix and the second threshold value matrix, ones illustrated inFIG. 22 can be used.

FIG. 15 is a diagram illustrating threshold value ranges determined asprinting in the threshold value matrices set in the present embodiment.The diagram illustrates the case where a signal of gray aroundintermediate density (128) is inputted. In the case of such density, asdescribed with FIG. 14, the signal value In0(x, y) of the black ink is0. Accordingly, a threshold value range determined as printing (1) isnot present.

In the case of cyan, the threshold value offset value is Ofs_1=In0(x,y). However, as described above, In0(x, y)=0. Accordingly, pixelpositions corresponding to 0 to In1 (1404 to 1405) among thresholdvalues of 0 to Dth_max in the first threshold value matrix are set toprinting (1).

In the case of magenta, the threshold value offset value is Ofs_2(x,y)=0. Accordingly, pixel positions corresponding to 0 to In2 (1407 to1408) among threshold values of 0 to Dth_max in the second thresholdvalue matrix are set to printing (1).

In the case of yellow, the threshold value offset value is Ofs_3(x,y)=In2. Accordingly, In2 to In2+In3 (1410 to 1411) among the thresholdvalues of 0 to Dth_max in the second threshold value matrix is set toprinting (1).

According to the present embodiment, in the highlight to intermediatedensity range where graininess is problematic, no black dot is printed,and therefore as in the first and second embodiments, the same dotpattern as that obtained when treating cyan as the first color in thecolor correlating process can be actually obtained. That is, a dotpattern of cyan, a dot pattern of magenta, and a mixed color dot patternof magenta and yellow can obtain blue noise characteristics. As aresult, as in the above-described embodiments, while sufficientlysuppressing the graininess of the mixed color dot pattern, the responsevalue of a dot pattern of each of the colors can be kept lower than theresponse value of the mixed color dot pattern, and therefore thegraininess of the whole of an image can be suppressed.

Note that in the third embodiment, for cyan and black, the samethreshold value matrix is used, and for magenta and yellow, the samethreshold value matrix is used; however, as in the relationship betweenthe first embodiment and the second embodiment, cyan and magenta can bereplaced by each other. That is, a combination of a threshold valuematrix used for each of the colors and a reference color can be set asfollows.

When the processing target data is the black data In0(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix having blue noise characteristics. The threshold value offsetamount calculation unit 308 sets the threshold value offset value tonull.Ofs_0(x,y)=0

When the processing target data is the cyan data In1(x, y), thethreshold value acquisition unit 305 selects the second threshold valuematrix that has blue noise characteristics but is different from thefirst threshold value matrix. The threshold value offset amountcalculation unit 308 sets the threshold value offset value to null.Ofs_1(x,y)=0

When the processing target data is the magenta data In2(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix as in the case of In0(x, y). The threshold value offset amountcalculation unit 308 sets the threshold value offset value to In0(x, y).Ofs_2(x,y)=In0(x,y)

When the processing target data is the yellow data In3(x, y), thethreshold value acquisition unit 305 selects the second threshold valuematrix as in the case of In1(x, y). The threshold value offset amountcalculation unit 308 sets the threshold value offset value to In1(x, y).Ofs_3(x,y)=In1(x,y)

Even when making such settings, in the highlight to intermediate densityrange, without printing a black dot, the same dot pattern as thatobtained when treating magenta as the first color in the colorcorrelating process can be obtained. That is, a dot pattern of cyan, adot pattern of magenta, and a mixed color dot pattern of cyan and yellowcan obtain blue noise characteristics, and therefore the graininess ofthe whole of an image can be kept lower than before.

(Fourth Embodiment)

The present embodiment uses an ink system further including gray inaddition to cyan, magenta, yellow, and black. The gray ink has higherlightness than the cyan, magenta, and black inks, and here the lightnessof the gray ink is defined as L*=70. For this reason, the dot power ofgray is the smallest next to that of yellow. In such an ink system, thepresent embodiment performs a color correlating process using a firstthreshold value matrix for black, cyan, and gray, and performs the colorcorrelating process using a second threshold value matrix for magentaand yellow.

In the present embodiment, in Step S202 of FIG. 5, the image processingapparatus main control unit 108 decomposes pieces of RGB data to piecesof 16-bit gradation data (density data) respectively for C (cyan), M(magenta), Y (yellow), K (black), and Gray (gray). Then, in Step S203, aquantization process is performed for each of the five colors.

FIG. 16 illustrates a gray line conversion state in a lookup tablereferred to by the image processing apparatus main control unit 108 inthe color conversion step of Step S202. The horizontal axis representsrespective lattice points of gradation from white toward black, and thevertical axis represents an output signal value corresponding to eachcolor, which is here expressed in 256 gradations. As can be seen fromFIG. 16, in a highlight to intermediate density gray range, withoutusing the black ink, a gray image is expressed using cyan, magenta,yellow, and a relatively large amount of gray. It turns out that ascompared with FIG. 14 that is described in the third embodiment and doesnot use a gray ink, the signal values of cyan and magenta are low. Thatis, according to the present embodiment, by introducing the gray ink,the numbers of dots of cyan and magenta having larger dot power thangray are kept small.

On the other hand, as in the third embodiment, black is not used in thehighlight to intermediate density range, but used in an intermediatedensity to high density range. In the high density range where the blackink is used, ink dot print density is sufficiently high, and thegraininess of black dots is unlikely to be regarded as a problem. In thepresent embodiment, in consideration of such a situation, a combinationof a threshold value matrix used for each of the inks and a referencecolor is set as follows.

First, when processing target data is black data In0(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix having blue noise characteristics. The threshold value offsetamount calculation unit 308 sets a threshold value offset value to null.Ofs_0(x,y)=0

When the processing target data is cyan data In1(x, y), the thresholdvalue acquisition unit 305 selects the first threshold value matrix asin the case of In0(x, y). The threshold value offset amount calculationunit 308 sets a threshold value offset value to In0(x, y).Ofs_1(x,y)=In0(x,y)

When the processing target data is magenta data In2(x, y), the thresholdvalue acquisition unit 305 selects the second threshold value matrixthat has blue noise characteristics but is different from the firstthreshold value matrix. The threshold value offset amount calculationunit 308 sets a threshold value offset value to null.Ofs_2(x,y)=0

When the processing target data is yellow data In3(x, y), the thresholdvalue acquisition unit 305 selects the second threshold value matrix asin the case of In2(x, y). The threshold value offset amount calculationunit 308 sets a threshold value offset value to In2(x, y)Ofs_3(X,y)=In2(x,y)

When the processing target data is gray data In4(x, y), the thresholdvalue acquisition unit 305 selects the first threshold value matrix asin the cases of In0(x, y) and In1(x, y). The threshold value offsetamount calculation unit 308 sets a threshold value offset value toIn0(x, y)+In1(x, y).Ofs_4(x,y)=In0(x,y)+In1(x,y)

Note that as in the above-described embodiments, as the first thresholdvalue matrix and the second threshold value matrix, ones illustrated inFIG. 22 can be used.

FIG. 17 is a diagram illustrating threshold value ranges determined asprinting (1) in the threshold value matrices for the respective colorsin the present embodiment. The diagram illustrates the case where asignal of gray around the intermediate density (128) is inputted. In thecase of such density, as described with FIG. 16, the signal value In0(x,y) of the black ink is 0. Accordingly, a threshold value rangedetermined as printing (1) is not present.

In the case of cyan, the threshold value offset value is Ofs_1=In0(x,y). However, as described above, In0(x, y)=0. Accordingly, pixelpositions corresponding to 0 to In1 (1604 to 1605) among thresholdvalues of 0 to Dth_max in the first threshold value matrix are set toprinting (1).

In the case of gray, the threshold value offset value is Ofs_4(x,y)=In0+In1. Accordingly, In0+In1 to In0+In1+In4, i.e., substantially In1to In1+In 4 (1607 to 1608) among the threshold values of 0 to Dth_max inthe first threshold value matrix is set to printing (1).

In the case of magenta, the threshold value offset value is Ofs_2(x,y)=0. Accordingly, pixel positions corresponding to 0 to In2 (1610 to1611) among threshold values of 0 to Dth_max in the second thresholdvalue matrix are set to printing (1).

In the case of yellow, the threshold value offset value is Ofs_3(x,y)=In2. Accordingly, In2 to In2+In3 (1613 to 1614) among the thresholdvalues of 0 to Dth_max in the second threshold value matrix is set toprinting (1).

According to the present embodiment, in the highlight to intermediatedensity range where graininess is problematic, no black dot is printed,and therefore as in the first and second embodiments, the same dotpattern as that obtained when treating cyan as the first color in thecolor correlating process can be actually obtained. That is, a dotpattern of cyan, a dot pattern of magenta, a mixed color dot pattern ofcyan and gray, and a mixed color dot pattern of magenta and yellow canobtain blue noise characteristics. On the other hand, neither a dotpattern of yellow nor a dot pattern of gray can obtain blue noisecharacteristics. However, the dot power of gray or yellow is very smallas compared with that of cyan or magenta, and therefore a responsivevalue and its integrated value as described in the first embodiment aresufficiently low values.

As described, according to the present embodiment, cyan and magenta bothhaving relatively large dot power are substantially collectively set asthe first color in the color correlating process, and yellow and grayboth having relatively small dot power are set as the second andsubsequent colors in the color correlating process. In doing so, as inthe above-described embodiments, while sufficiently suppressing thegraininesses of the mixed color dot patterns, the response value of adot pattern of each of the colors can be kept lower than the responsevalues of the mixed color dot patterns, and therefore the graininess ofthe whole of an image can be suppressed.

Note that the effect of the present embodiment produced by using thegray ink can also be obtained without using the black ink together. Inthe case of not using the black ink, in the intermediate density to highdensity range in the graph illustrated in FIG. 16, the signal values ofcyan, magenta, and yellow are increased instead of black. In such a formas well, the fact that in the highlight to intermediate density range,the signal value of gray is higher than those of cyan and magenta is thesame, and therefore the effect of suppressing graininess can beobtained.

Also, in the fourth embodiment as well, cyan and magenta can be replacedin terms of relationship by each other to set a combination of athreshold value matrix used for each of the inks and a reference coloras follows.

When the processing target data is the black data In0(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix having blue noise characteristics. The threshold value offsetamount calculation unit 308 sets the threshold value offset value tonull.Ofs_0(x,y)=0

When the processing target data is the cyan data In1(x, y), thethreshold value acquisition unit 305 selects the second threshold valuematrix that has blue noise characteristics but is different from thefirst threshold value matrix. The threshold value offset amountcalculation unit 308 sets the threshold value offset value to null.Ofs_1(x,y)=0

When the processing target data is the magenta data In2(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix as in the case of In0(x, y). The threshold value offset amountcalculation unit 308 sets the threshold value offset value to In0(x, y).Ofs_2(x,y)=In0(x,y)

When the processing target data is the yellow data In3(x, y), thethreshold value acquisition unit 305 selects the second threshold valuematrix as in the case of In1(x, y). The threshold value offset amountcalculation unit 308 sets the threshold value offset value to In1(x, y).Ofs_3(x,y)=In1(x,y)

When the processing target data is the gray data In4(x, y), thethreshold value acquisition unit 305 selects the first threshold valuematrix as in the cases of In0(x, y) and In2(x, y). The threshold valueoffset amount calculation unit 308 sets the threshold value offset valueto In0(x, y)+In2(x, y).Ofs_4(x,y)=In0(x,y)+In2(x,y)

Even when making such settings, in the highlight to intermediate densityrange, without printing a black dot, the same dot pattern as thatobtained when treating cyan and magenta collectively as the first colorin the color correlating process and treating yellow and gray as thesecond and subsequent colors can be obtained. That is, a dot pattern ofcyan, a dot pattern of magenta, a mixed color dot pattern of cyan andyellow, and a mixed color dot pattern of magenta and gray can obtainblue noise characteristics, and therefore the graininess of the whole ofan image can be kept lower than before.

As described above, according to the present invention, a combination ofa threshold value matrix and a reference color in the color correlatingprocess is set so as to substantially use colors having relatively largedot power as the first color in the color correlation process. In doingso, while sufficiently suppressing the graininess of a mixed color dotpattern, the response value of a dot pattern of each color can be keptlower than the response value of the mixed color dot pattern, andtherefore the graininess of the whole of an image can be kept lower thanbefore.

Note that in each of the above four embodiments, the case of using someof the cyan, magenta, yellow, black and gray inks is taken as an exampleto give the description; however, the present invention can also beapplied to other systems using various types of inks. For example, as alight color ink having high lightness, instead of the gray ink, a lightcyan ink or a light magenta ink can also be used, and a particular colorink such as a red, green, or blue can also be used together. In anycase, the above-described effects of the present invention can beobtained as long as multiple threshold value matrices are prepared and acombination of a threshold value matrix and reference data in the colorcorrelating process is set so as to substantially use colors havingrelatively large dot power as the first color in the color correlatingprocess.

Also, the above description is given on the basis of the configurationwhere 16-bit data is quantized into several levels by the quantizationprocess, and then binarization is performed by the index expansionprocess; however, the quantization process performed in Step S203 is notnecessarily required to be the multivalued quantization process. Thatis, the quantization process in Step S203 may directly convert 16-bitgradation data to 1-bit binary data using a dither process. In thiscase, the index expansion process in Step S204 is omitted, and thebinary data obtained in Step S203 is directly outputted to the printingapparatus 1. A bit number of input/output data in another step of FIG. 5is of course not limited to that in any of the above-describedembodiments. In order to keep accuracy, an output bit number may be madelarger than an input bit number, and a bit number may be variouslyadjusted depending on application or situations.

Further, in any of the above-described embodiments, the serial typeprinting apparatus illustrated in FIG. 2 is used to give thedescription; however, the present invention can also be applied to afull-line type printing apparatus.

(Other Embodiments)

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-Ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2015-156850 filed Aug. 7, 2015, which is hereby incorporated byreference wherein in its entirety.

What is claimed is:
 1. An image processing apparatus for printing animage on a print medium with use of inks of multiple colors including atleast a color material of a first chromatic color, a color material of asecond chromatic color different from the first chromatic color, and acolor material of a third chromatic color different from the firstchromatic color and the second chromatic color, the image processingapparatus comprising: one or more processors that function as: anacquisition unit configured to acquire first, second, and third piecesof multivalued data respectively corresponding to the inks of the first,second, and third chromatic colors; and a generation unit configured togenerate first, second, and third pieces of quantization datarespectively corresponding to the inks of the first, second, and thirdchromatic colors on a basis of the first, second, and third pieces ofmultivalued data acquired by the acquisition unit, and stored first andsecond threshold value matrices each configured to include arrayedmultiple threshold values defining an arrangement of threshold valuesaccording to position of pixels respectively in one or more memory, thearrangement of threshold values in the second threshold value matrixbeing different from the arrangement of threshold values in the firstthreshold value matrix, wherein: the generation unit (i) generates thefirst quantization data on a basis of the first pieces of multivalueddata acquired by the acquisition unit and the first threshold valuematrix, (ii) generates the second quantization data on a basis of thesecond pieces of multivalued data acquired by the acquisition unit andthe second threshold value matrix, and (iii) generates the thirdquantization data on a basis of the third pieces of multivalued dataacquired by the acquisition unit and the second threshold value matrix.2. The image processing apparatus according to claim 1, wherein thegeneration unit (iii-1) performs an offset process that offsets themultiple threshold values constituting the second threshold value matrixon a basis of the acquired second pieces of the multivalued data, and(iii-2) generates the third quantization data on a basis of the acquiredthird pieces of the multivalued data and the second threshold valuematrix having been subjected to the offset process.
 3. The imageprocessing apparatus according to claim 1, wherein each of the firstthreshold value matrix and the second threshold value matrix has a bluenoise characteristic.
 4. The image processing apparatus according toclaim 1, wherein the third chromatic color is yellow; and one of thefirst chromatic color and the second chromatic color is cyan and theother one is magenta.
 5. The image processing apparatus according toclaim 1, the color material of the third chromatic color has a higherlightness than the first chromatic color and the second chromatic color.6. The image processing apparatus according to claim 1, furthercomprising a printing unit configured to print on the print medium byejecting the printing materials of multiple colors based on the firstquantization data, the second quantization data and the thirdquantization data.
 7. The image processing apparatus according to claim1, the generation unit (i) generates the first quantization data bycomparing the acquired first pieces of multivalued data and a thresholdvalue arrayed in the first threshold value matrix, (ii) generates thesecond quantization data by comparing the acquired second pieces ofmultivalued data and a threshold value arrayed in the second thresholdvalue matrix, and (iii) generates the third quantization data bycomparing the acquired third pieces of multivalued data and a thresholdvalue arrayed in the first threshold value matrix with shifting thedifference between the third pieces of the multivalued data and thethreshold value in the first threshold value corresponding to the firstpiece of multi valued data.
 8. An image processing apparatus forprocessing data used for printing an image on a print medium with use ofprinting materials of multiple colors including at least printingmaterial of a first color, printing material of a second color differentfrom the first color, and printing material of a third color having ahigher lightness than the first and second colors, the image processingapparatus comprising: one or more processors; and one or morecomputer-readable media coupled to the one or more processors, the oneor more computer-readable media storing instructions that, when executedby the one or more processors, cause an image processing device toperform operations comprising: acquiring first, second, and third piecesof multivalued data respectively corresponding to the color materials ofthe first, second and third colors; and generating first, second, andthird pieces of quantization data respectively corresponding to the inksof the first, second and third colors, for a plurality of pixels byquantization processing using a plurality of threshold value matrices,wherein the image processing apparatus further comprises a memorizedfirst threshold value matrix in a memory and a second threshold valuematrix in a memory, the first threshold value matrix and the secondthreshold value matrix having an array of threshold values defining anarrangement of threshold values according to position of pixelsrespectively, the arrangement of threshold values in the secondthreshold value matrix being different from the arrangement of thresholdvalues in the first threshold value matrix, and wherein in thegenerating, (i) the first quantization data is generated on a basis ofthe acquired first piece of multivalued data of a target pixel and athreshold value for the target pixel in the first threshold valuematrix, (ii) the second quantization data is generated on a basis of theacquired second piece of multivalued data of the target pixel and athreshold value for the target pixel in the second threshold valuematrix, and (iii) the third quantization data is generated on a basis ofthe acquired second piece of multivalued data of the target pixel, theacquired third piece of multivalued data of the target pixel and thethreshold value of the target pixel in the second threshold valuematrix.
 9. The image processing apparatus according to claim 8, whereinthe image processing apparatus further comprises a selecting unitconfigured to select one threshold value matrix from among the thresholdvalue matrices for respective printing materials of multiple colors. 10.The image processing apparatus according to claim 8, wherein the imageprocessing apparatus further comprises a selecting unit configured toselect one threshold value matrix from among the threshold valuematrices for respective printing materials of multiple colors.
 11. Theimage processing apparatus according to claim 8, further comprises amemory configured to store a first threshold value matrix and a secondthreshold value matrix having an array of threshold values defining anarrangement of threshold values according to position of pixelsrespectively.
 12. The image processing apparatus according to claim 8,further comprising a printing unit configured to print on the printmedium by ejecting the printing materials of multiple colors based onthe first quantization data, the second quantization data and the thirdquantization data.
 13. The image processing apparatus according to claim8, wherein in the generating, (i) the first quantization data isgenerated by comparing the acquired first piece of multivalued data of atarget pixel with a threshold value of the target pixel in the firstthreshold value matrix, (ii) the second quantization data is generatedby comparing the acquired second piece of multivalued data of the targetpixel with a threshold value for the target pixel in the secondthreshold value matrix, and (iii) the third quantization data isgenerated on a basis of the acquired second piece of multivalued data ofthe target pixel, the acquired third piece of multivalued data of thetarget pixel and the threshold value of the target pixel in the secondthreshold value matrix.
 14. An image processing method for processingdata used for printing an image on a print medium with use of printingmaterials of multiple colors including at least printing material of afirst color, printing material of a second color different from thefirst color, and printing material of a third color having higherlightness than the first and second colors, the image processing methodcomprising: acquiring first, second, and third pieces of multivalueddata respectively corresponding to the color materials of the first,second and third colors; and generating first, second, and third piecesof quantization data respectively corresponding to the inks of thefirst, second and third colors, for a plurality of pixels byquantization processing using a plurality of threshold value matrices,wherein the image processing apparatus further comprises a memorizedfirst threshold value matrix in a memory and a second threshold valuematrix in a memory the first threshold value matrix and the secondthreshold value matrix having an array of threshold values defining anarrangement of threshold values according to position of pixelsrespectively, the arrangement of threshold values in the secondthreshold value matrix being different from the arrangement of thresholdvalues in the first threshold value matrix, and wherein in thegenerating, (i) the first quantization data is generated on a basis ofthe acquired first piece of multivalued data of a target pixel and athreshold value for the target pixel in the first threshold valuematrix, (ii) the second quantization data is generated on a basis of theacquired second piece of multivalued data of the target pixel and athreshold value for the target pixel in the second threshold valuematrix, and (iii) the third quantization data is generated on a basis ofthe acquired second piece of multivalued data of the target pixel, theacquired third piece of multivalued data of the target pixel and thethreshold value of the target pixel in the second threshold valuematrix.
 15. A non-transitory computer-readable storage medium storing aprogram for causing one or more processors to perform an imageprocessing method, program comprising code to execute: acquiring first,second, and third pieces of multivalued data respectively correspondingto the color materials of the first, second and third colors; andgenerating first, second, and third pieces of quantization datarespectively corresponding to the inks of the first, second and thirdcolors, for a plurality of pixels by quantization processing using aplurality of threshold value matrices, wherein the image processingapparatus further comprises a memorized first threshold value matrix ina memory and a second threshold value matrix in a memory the firstthreshold value matrix and the second threshold value matrix having anarray of threshold values defining an arrangement of threshold valuesaccording to position of pixels respectively, the arrangement ofthreshold values in the second threshold value matrix being differentfrom the arrangement of threshold values in the first threshold valuematrix, and wherein in the generating, (i) the first quantization datais generated on a basis of the acquired first piece of multivalued dataof a target pixel and a threshold value for the target pixel in thefirst threshold value matrix, (ii) the second quantization data isgenerated on a basis of the acquired second piece of multivalued data ofthe target pixel and a threshold value for the target pixel in thesecond threshold value matrix, and (iii) the third quantization data isgenerated on a basis of the acquired second piece of multivalued data ofthe target pixel, the acquired third piece of multivalued data of thetarget pixel and the threshold value of the target pixel in the secondthreshold value matrix.
 16. An image processing method for processingdata used for printing an image on a print medium with use of printingmaterials of multiple colors including at least printing material of afirst color, printing material of a second color different from thefirst color, and printing material of a third color having higherlightness than the first and second colors, the image processing methodcomprising: acquiring first, second and third pieces of multivalued datarespectively corresponding to the printing materials of the first,second and third colors for a target pixel; and generating first, secondand third pieces of quantization data respectively corresponding to theinks of the first, second and third colors, for a plurality of pixels byquantization processing, wherein the generating, (i) the firstquantization data is generated by comparing the acquired first piece ofmultivalued data of a target pixel with a threshold value of the targetpixel in a first threshold value matrix and without using a secondthreshold value matrix, the arrangement of threshold values in the firstthreshold value matrix being different from the arrangement of thresholdvalues in the second threshold value, (ii) the second quantization datais generated by comparing the acquired second piece of multivalued dataof the target pixel with a threshold value for the target pixel in thesecond threshold value matrix without using the first threshold valuematrix, and (iii) the third quantization data is generated based on theacquired second piece of multivalued data of the target pixel, theacquired third piece of multivalued data of the target pixel and thethreshold value for the target pixel in the second threshold valuematrix.
 17. A non-transitory computer readable storage medium storing aprogram for causing one or more processors to perform an imageprocessing method, the program comprising code to execute: acquiringfirst, second and third pieces of multivalued data respectivelycorresponding to the printing materials of the first, second and thirdcolors for a target pixel; and generating first, second and third piecesof quantization data respectively corresponding to the inks of thefirst, second and third colors, for a plurality of pixels byquantization processing, wherein the generating, (i) the firstquantization data is generated by comparing the acquired first piece ofmultivalued data of a target pixel with a threshold value of the targetpixel in a first threshold value matrix and without using a secondthreshold value matrix, the arrangement of threshold values in the firstthreshold value matrix being different from the arrangement of thresholdvalues in the second threshold value, (ii) the second quantization datais generated by comparing the acquired second piece of multivalued dataof the target pixel with a threshold value for the target pixel in thesecond threshold value matrix without using the first threshold valuematrix, and (iii) the third quantization data is generated based on theacquired second piece of multivalued data of the target pixel, theacquired third piece of multivalued data of the target pixel and thethreshold value for the target pixel in the second threshold valuematrix.